<script setup>
import { defineProps } from "vue";
import { Tag, Space } from "@garco-design/web-vue";
import ConfirmContent from "./index.vue";

defineProps({
  header: String,
  values: {
    type: Array,
    default: () => [],
  },
});
</script>

<template>
  <confirm-content :header="header">
    <space wrap>
      <tag v-for="(item, index) in values" :key="index">
        {{ item }}
      </tag>
    </space>
  </confirm-content>
</template>
